/*
 *
 * Copyright (C) 1999-2012 IFLYTEK Inc.All Rights Reserved.
 *
 * FileName：BornController.java
 *
 * Description：
 *
 * History：
 * Version   Author        Date                  Operation
 * 1.0	     ruihe       2019/8/5 15:53         Create
 *
 */

package com.ruihe.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author ruihe@iflytek.com
 * @version 1.0
 * @create 2019/8/5 15:53
 * @since 1.0
 */
@Controller
public class BornController {

    private static final Log logger = LogFactory.getLog(BornController.class);

    @RequestMapping(value = "/born")
    public ModelAndView born(){
        logger.info("born 被调用");
        ModelAndView mv = new ModelAndView();
        mv.addObject("message","luna is born");
        mv.setViewName("/WEB-INF/content/born.jsp");
        return mv;
    }
}
